package com.example.cushion.realize.frame;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.example.cushion.base.BaseActivity;
import com.example.cushion.realize.alarm.AlarmActivity;

/**
 * Title:完全透明的Activity，避免启动时，看到最顶部的主题颜色<br>
 * Description: <br>
 *
 * @email ItZheng@ZoHo.com
 * Created by itzheng on 2018-3-7.
 */
public class TranslucentActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (false) {
            setTranslucentStatus(true);
            startActivity(new Intent(this, AlarmActivity.class));
            finish();
            return;
        }
        startActivity(new Intent(this, MainActivity.class));
        finish();
    }
}
